import { Component, OnInit } from '@angular/core';
import { NzModalRef, NzMessageService } from 'ng-zorro-antd';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { mobileValidate } from '@core/util/formControl-validate-utils';
import { SalesmanService } from '@core/routes-services/salesman.service';

@Component({
  selector: 'app-market-salesman-edit',
  templateUrl: './edit.component.html',
})
export class MarketSalesmanEditComponent implements OnInit {
  entity: any = {};
  validateForm: FormGroup;
  isLoading: boolean = false;

  districtOption: any [] = [];
  salesManTypeOption: any [] = [];

  constructor(
              private modal: NzModalRef,
  ) {
  }

  ngOnInit(): void {
  }
  close(e) {
    this.modal.destroy();
  }
}
